package com.leo;

import java.io.Serializable;

/**
 * @ClassName Student
 * @Description 这里一定要实现序列化
 * @Author wangss
 * @date 2020.06.08 23:56
 * @Version 1.0
 */
public class Student implements Serializable {

    private String name;

    private String age;

    private String photo;

    public Student(String name, String age, String photo) {
        this.name = name;
        this.age = age;
        this.photo = photo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }
}
